package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;

/**
 * 添加时间段
 **/
public class AddTimeBucketParam {
	@NotEmpty(message = "名称不能为空")
	private String name; // 名称
	@NotEmpty(message = "时间段不能为空")
	private String buckets; // 时间段

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setBuckets(String buckets) {
 		this.buckets = buckets;
	}

	public String getBuckets() {
 		return buckets;
	}

}
